package com.cs342.uwosh.cloudycontacts.tasks.db;

import com.cs342.uwosh.cloudycontacts.MainActivity;
import com.cs342.uwosh.cloudycontacts.SqlConnect;

import android.os.AsyncTask;

public class GetUserDetailsTask extends AsyncTask<Object, Object, String[]>
{
	@Override
	protected String[] doInBackground(Object... arg0) {
		String[] details = new String [] {"",""};
		try
		{
			details = MainActivity.db.getUser();
		}
		catch(Exception e)
		{
			details = new String [] {"",""};
		}
		return details;
	}
}
